package com.edu.service.impl;

import com.edu.bean.Book;
import com.edu.dao.BookDao;
import com.edu.dao.impl.BookDaoImpl;
import com.edu.service.BookService;

import java.util.List;

public class BookServiceImpl implements BookService {
    @Override
    public List<Book> selectBookAll() {
        BookDao bookDao=new BookDaoImpl();
        List<Book> list=bookDao.selectBookAll();
        return list;
    }
}
